﻿<Window x:Class="WpfClient.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="899">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <!--<ColumnDefinition Width="Auto"></ColumnDefinition>-->
        </Grid.ColumnDefinitions>
        
        <DataGrid AutoGenerateColumns="False" Height="Auto" Name="bids" Grid.Column="0">
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=Price, StringFormat=\{0:F\}}" Header="Price" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Path=Quantity,StringFormat=\{0:N0\}}" Header="Quantity" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Path=Splits, StringFormat=\{0:F0\}}" Header="Splits" IsReadOnly="True" />
            </DataGrid.Columns>
        </DataGrid>

        <DataGrid AutoGenerateColumns="False" Height="Auto" Name="asks" Grid.Column="1" >
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=Price, StringFormat=\{0:F\}}" Header="Price" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Path=Quantity, StringFormat=\{0:N0\}}" Header="Quantity" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Path=Splits, StringFormat=\{0:F0\}}" Header="Splits" IsReadOnly="True" />
            </DataGrid.Columns>
        </DataGrid>

        <DataGrid AutoGenerateColumns="False" Height="Auto" Name="trades" Grid.Column="2" >
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=Time, StringFormat=\{0:G\}}" Header="Time" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Path=Price, StringFormat=\{0:F\}}" Header="Price" IsReadOnly="True" />
                <DataGridTextColumn Binding="{Binding Path=Quantity, StringFormat=\{0:N0\}}" Header="Quantity" IsReadOnly="True" />
            </DataGrid.Columns>
        </DataGrid>

        <!--<DataGrid Height="Auto" HorizontalAlignment="Left" Name="market" 
                  VerticalAlignment="Top" Grid.Column="3" >
        </DataGrid>-->
        
    </Grid>
</Window>
